Experiments with a Reassignment Heuristic for Large Constraint Satisfaction Problems
نویسنده
چکیده
A reassignment heuristic, originally designed to produce good solutions to an optimisation problem in rostering, is generalised so that it can, at least in theory, nd a feasible solution to any constraint satisfaction problem (CSP), if one exists. The heuristic requires an initial solution which is consistent but incomplete, in that some variables may be unassigned. Each unassigned variable is considered in turn and the heuristic attempts to nd reassignments of other variables which will allow the unassigned variable to be given a value consistent with the rest of the current solution. If this cannot be done, a value is chosen for the unassigned variable, the assignments which are inconsistent with the new assignment are deleted from the solution, and their variables are made unassigned in turn. The heuristic proceeds in this fashion until there are no remaining unassigned variables, or it reaches its iteration limit. In order to investigate the strengths and weaknesses of the reassignment heuris-tic, a series of experiments on randomly-generated CSPs have been carried out. These show the importance of randomn choice in the heuristic; for instance, if the initial solution is based on a random assignment, the performance is much better than if a good initial solution is constructed. The experiments also compare the performance of the heuristic with the forward checking algorithm. The reassignment heuristic nds a feasible solution more quickly than forward checking to problems which have a large number of possible solutions, but does less well when solutions are sparse; in particular, it cannot detect when a problem is insoluble. It is suggested that other repair-based heuristics for constraint satisfaction problems will behave similarly.
منابع مشابه
Complexity of several constraint satisfaction problems using the heuristic, classical, algorithm, WalkSAT
We determine the complexity of several constraint-satisfaction problems using the heuristic algorithm WalkSAT. At large sizes N, the complexity increases exponentially with N in all cases. Perhaps surprisingly, out of all the models studied, the hardest for WalkSAT is the one for which there is a polynomial time algorithm.
متن کاملHeuristic Search For Distributed Constraint Satisfaction Problems
A large number of problems in AI and other areas of computer science can be viewed as special cases of the constraint satisfaction problem (CSP). Various distributed and parallel computing approaches have been used to solve these problems. Mainly, these approaches can be classiied as variable-based, domain-based, and function-based distributed problem solving strategies. In this paper, some heu...
متن کاملLook-Ahead Value Ordering for Constraint Satisfaction Problems
Looking ahead during search is often useful when solving constraint satisfaction problems. Previous studies have shown that looking ahead helps by causing dead-ends to occur earlier in the search, and by providing information that is useful for dynamic variable ordering. In this paper, we show that another bene t of looking ahead is a useful domain value ordering heuristic, which we call look-a...
متن کاملHeuristic Methods for Solving Job-Shop Scheduling Problems
Solving scheduling problems with Constraint Satisfaction Problems (CSP’s) techniques implies a wide space search with a large number of variables, each one of them with a wide interpretation domain. This paper discusses the application of CSP heuristic techniques (based on the concept of slack of activities) for variable and value ordering on a special type of job-shop scheduling problems in wh...
متن کاملOrdering Heuristics for Arc Consistency Algorithms
Arc consistency algorithms are used in solving constraint satisfaction problems and are important in constraint logic programming languages. Search order heuristics for arc consistency algorithms signiicantly enhance the ef-ciency of their implementation. In this paper we propose and evaluate several ordering heuristics. Care is taken with experimental design , involving random problems, and st...
متن کامل